package com.pcjavanet.collect.mes.dao;

import java.util.List;

public interface SpcRelOcapEmailDao {
	public int addOcapEmail(SpcRelOcapEmail bean);
	public List<SpcRelOcapEmail> queryOcapEmailsByCreateTime(int monitorId, long beginTime ,long endTime  );
	public SpcRelOcapEmail getOcapEmailByKey(int key);
	public int updateOcapEmailByChartKey(SpcRelOcapEmail spcRelOcapEmail);
	public int updateOcapEmailByKey(SpcRelOcapEmail spcRelOcapEmail);
	public int deleteOcapEmailByKey(int key);
	public SpcRelOcapEmail getEmptyOcapEmailByKey(int key);
	public void updateOcapTimeByChartKey(long firstOcapTime,int chartKey);
	public void updateOcapTimeByDataKey(long firstOcapTime, int dataKey,int chartKey, String chartType);
}
